<?php
class CarteModel extends Orm_Base{
    public $table = 'carte';                                                                         
    public $field = array(                                                                             
		'id' => array('type' => "int(11)", 'comment' => 'id'),                               
		'starttime' =>  array('type' => "varchar(11)", 'comment' => ''),
		'endtime' =>  array('type' => "varchar(11)", 'comment' => ''),
		'department' =>  array('type' => "varchar(20)", 'comment' => ''),
		'createtime' =>  array('type' => "datetime", 'comment' => ''),
		'createuser' =>  array('type' => "varchar(11)", 'comment' => ''),
	);
 
	public $pk = 'id';
}
